package com.platform.client;


import com.platform.client.config.FeignConfig;
//import com.platform.client.hystrix.ControlServiceHystrix;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by wyt on 2018/6/28.
 */

@FeignClient(value = "control-service"
        , configuration = FeignConfig.class)
public interface ControlServiceClient {
    @RequestMapping(method = RequestMethod.POST, value = "/test")
    String test();
}



